package com.glueball.crm.module.client.model;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import org.codehaus.jackson.annotate.JsonSubTypes;
import org.codehaus.jackson.annotate.JsonSubTypes.Type;
import org.codehaus.jackson.annotate.JsonTypeInfo;
import org.codehaus.jackson.annotate.JsonTypeInfo.As;
import org.codehaus.jackson.annotate.JsonTypeInfo.Id;

@XmlRootElement(name="clientdata")
@JsonSubTypes({@Type(value=Person.class, name="Person"),
               @Type(value=Company.class, name="Company")})
@JsonTypeInfo(use=Id.NAME, include=As.PROPERTY, property="@class")
public interface ClientData extends Serializable {
}
